package com.youmeek.ssm.module.user.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.youmeek.ssm.module.user.pojo.BuyOrderDetail;
import com.youmeek.ssm.module.user.mapper.BuyOrderDetailDao;

@Service
public class BuyOrderDetailService{

    @Resource
    private BuyOrderDetailDao buyOrderDetailDao;

    public int insert(BuyOrderDetail pojo){
        return buyOrderDetailDao.insert(pojo);
    }

    public int insertSelective(BuyOrderDetail pojo){
        return buyOrderDetailDao.insertSelective(pojo);
    }

    public int insertList(List<BuyOrderDetail> pojos){
        return buyOrderDetailDao.insertList(pojos);
    }

    public int update(BuyOrderDetail pojo){
        return buyOrderDetailDao.update(pojo);
    }
}
